package org.jeecg.modules.service;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.modules.doctor.entity.DoctorWxUserinfoRelation;
import org.jeecg.common.modules.doctor.service.IDoctorWxUserinfoRelationService;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author guoyh
 * @ClassName ApiMessageService
 * @Description
 * @since 2020/9/6 01:25
 **/
@Service
@Slf4j
public class ApiMessageService {
    @Resource
    private IDoctorWxUserinfoRelationService doctorWxUserinfoRelationService;

    @Async
    public void sendMssage(String groupId,String senderId){
        DoctorWxUserinfoRelation relation = doctorWxUserinfoRelationService.getByGroupId(groupId);

    }
}
